<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script src="https://cdn.bootcdn.net/ajax/libs/lodash.js/4.17.20/lodash.js"></script>
    <script>
      //   const arr1 = _.chunk([["a", "aaa"], "b", "c", "d"], 2);
      //   console.log(arr1);
      //   const arr2 = _.compact([0, 1, false, 2, "", 3]);
      //   console.log(arr2);
      //   var array = [1];
      //   var other = _.concat(array, 2, [3], [[4]]);
      //   console.log(other);
      //   console.log(array);
      //   const arr3 = _.difference([1,2,3,4,5,6],[2,4,6])
      //   console.log(arr3);
      // const arr4 = _.differenceBy([1.1,2.2,3.3],[4.4,3.5],Math.floor)
      // console.log(arr4);
      //   const arr = _.dropRight([1,2,3,4],2)
      //   console.log(arr);
    //   var users = [
    //     { user: "barney", active: true },
    //     { user: "fred", active: false },
    //     { user: "pebbles", active: false },
    //   ];
    //   const arr = _.dropRightWhile(users,o=>!o.active)
    //   console.log(arr);
    // _.times(5,item=>console.log(item))
    // const arr = _.times(3,String)
    // console.log(arr);
    // const arr1 = _.times(4,_.constant(0))
    // console.log(arr1);
    
    </script>
  </body>
</html>
